import request from '@/plugin/axios'
import { sysPath } from '@api/sys.common'

export function getLoggerList(params) {
  return request({
    url: sysPath + '/hx-mart/api/v1/logControl/getLoggerList',
    method: 'post',
    params
  })
}

export function changeLoggerLevel(params) {
  return request({
    url: sysPath + '/hx-mart/api/v1/logControl/changeLoggerLevel',
    method: 'post',
    params
  })
}

export function restoreLoggerLevel() {
  return request({
    url: sysPath + '/hx-mart/api/v1/logControl/restoreLoggerLevel',
    method: 'post'
  })
}

export function loggerPrintTest() {
  return request({
    url: sysPath + '/hx-mart/api/v1/logControl/loggerPrintTest',
    method: 'post'
  })
}
